package com.unknow.first.dapp.admin.service;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * 绑定用户地址后的处理，在对应的业务中实现，如果没有就不执行
 */
public interface IBindParentAfter {
    @Transactional(rollbackFor = Exception.class, propagation = Propagation.MANDATORY)
    Boolean initAddress(String parentAddress, String childAddress) throws Exception;
}
